package gu.sql2java.manager.mysql;

import com.google.common.base.Predicates;

import gu.sql2java.manager.SqlFormatters.QuoteFormatter;

/**
 * @author guyadong 
 * @since 3.14.0
 */
public class MysqlSqlFormatter extends QuoteFormatter {

    public MysqlSqlFormatter() {
        super("`");
    }
    @Override
    public String tablename(String tablename) {
        return quoteIf(tablename, Predicates.alwaysTrue());
    }
    @Override
    public String columname(String columname) {
        return quoteIf(columname, Predicates.alwaysTrue());
    }

}
